package com.xyoto.community.entity.main;

import com.xyoto.community.utils.handler.CreateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author coderFu
 * @create 2021/11/17
 */
@ApiModel("轮播图实体")
@Data
public class RotationChart {

    @ApiModelProperty("自增id")
    private Integer id;

    @ApiModelProperty("图片路径")
    private String path;

    @ApiModelProperty("轮播图顺序")
    private Integer orders;

    @ApiModelProperty("轮播图链接")
    private String link;

    @ApiModelProperty("轮播图展示状态 1、上架 2、下架")
    private Integer status;

    @ApiModelProperty("创建时间")
    @CreateTime
    private Date createTime;

}
